package com.example.lotterysystem.service.dto;

import lombok.Data;

import java.math.BigDecimal;

@Data

/**
 * 奖品数据传输对象，用于封装奖品相关信息
 * 包含奖品ID、名称、图片地址、价格及描述等字段
 */
public class PrizeDTO {
   //  奖品ID
    private Long prizeId;
   // 奖品名称
   private String name;
   // 奖品图片索引
   private String imageUrl;
   // 奖品价格
   private BigDecimal price;
   // 奖品描述
   private String description;

    public Long getPrizeId() {
        return prizeId;
    }

    public void setPrizeId(Long prizeId) {
        this.prizeId = prizeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
